package com.atung.parking.config.exception;


import com.atung.parking.config.result.CommonResultCode;

/**
 * @author Administrator
 */
public class UdpAppException extends RuntimeException {
    int code;

    public int getCode() {
        return this.code;
    }

    public UdpAppException(int code, String errAlias) {
        this(code, "BaseLanguage", errAlias, (Object[]) null);
    }

    public UdpAppException(String errAlias, Object... args) {
        this(CommonResultCode.WARN.getCode(), "BaseLanguage", errAlias, (Object[]) null);
    }

    public UdpAppException(int code, String bizType, String langAlias, Object... formatParams) {
        this.code = code;
    }
}